<template>
    <div>
        
        <div class="iconfont icon-pullup" @click="backtop"></div>
        
    </div>
</template>

<script>
    export default {
        name: "BackTop",
        setup(props,{emit}) {
            return {
                backtop:() => {
                    emit('bTop');
                }
            }
        }
    }
</script>

<style scoped>
    div {
        position: fixed;
        right: 30px;
        bottom: 80px;
        width: 29px;
        height: 27px;
        text-align: center;
        line-height: 31px;
        color: red;
        z-index: 33;
        font-size: 30px;
        border-radius: 50%;
        background-color: transparent;
        /*box-shadow: 3px 2px 8px #888;*/
    }
</style>